//
//  PHPhotoLibrary+Ex.h
//  PhotoKit
//
//  Created by Guo Rui on 2017/10/12.
//  Copyright © 2017年 GR Harry. All rights reserved.
//

#import <Photos/Photos.h>

@interface PHPhotoLibrary (Ex)
/**
 异步的方式创建相册

 @param title 相册名称
 @param completion 完成后的回调
 */

//+ (void)createPHAssetCollectionWithTitle:(NSString *)title completion:(void (^)(PHAssetCollection *collection, NSError *error))completion;


/**
 同步的方式创建相册

 @param title 相册名称
 @return 创建好的相册
 */
+ (PHAssetCollection *)createPHAssetCollectionWithTitle:(NSString *)title error:(NSError *__autoreleasing *)error;
@end
